/*
 * RtpType.h
 *
 *  Created on: 2018年5月1日
 *      Author: chuanjiang.zh@qq.com
 */

#ifndef RTPTYPE_H_
#define RTPTYPE_H_

#include "BasicType.h"

namespace av
{

struct RtpPacket
{
	uint8_t*    data;
	int         size;
	uint32_t    ts;
	bool        mark;	/// mark of rtp header
	uint8_t		pt;		/// payload type
    uint16_t    seq;
};

enum RtpProtocol
{
	kUdp = 0,
	kRtcp,
	kTcpServer,
	kTcpClient
};





} /* namespace av */

#endif /* RTPTYPE_H_ */
